#ifndef CAMERA_H
#define CAMERA_H

#include <SDL.h>
#include "Entity.h"
class Game;

/** Renders the scene in a viewport
 *
 * renders a scene in a viewport of given size
 */
class Camera {
	private: // fields
		Game* m_game;
		SDL_Surface* m_screen;
		Position m_screensize;
		Position m_cameraPos;
		bool m_interpolateCameraPos;
		
	public:
		Camera( int width, int height, Game* game );
		~Camera();
		void render( float frametime );
		void drawText(Position h, char *string);
		void drawEntity( Entity* ent );
};




#endif
